package personal.vivian.builder;

import personal.vivian.logic.TemplatItem;

import java.util.ArrayList;
import java.util.List;

public class DataTemplate {
    private List<TemplatItem> items=new ArrayList<>();
    private Class<?> templateSource;
    private String name;
    private TemplatItem hiddenItem;
    public List<TemplatItem> getItems() {
        return items;
    }

    public void setItems(List<TemplatItem> items) {
        this.items = items;
    }

    public Class<?> getTemplateSource() {
        return templateSource;
    }

    public void setTemplateSource(Class<?> templateSource) {
        this.templateSource = templateSource;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void addItem(TemplatItem item) {
        items.add(item);
    }

    public TemplatItem getHiddenItem() {
        return hiddenItem;
    }

    public void setHiddenItem(TemplatItem hiddenItem) {
        this.hiddenItem = hiddenItem;
    }
}
